package net.zoneland.zrdp.biz.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import net.zoneland.zrdp.common.enums.BaseEnum;

/**
 * 流程工单状态.
 * @version v1.0
 */
@Getter
@AllArgsConstructor
public enum TaskStatusEnums implements BaseEnum<Integer> {

    READY(1, "就绪"),
    FINISH(2, "完成"),
    NEW(3, "新建"),
    STOP(4, "终止"),
    DRAFT(10, "草稿"),
    ASSIGNED(13, "被指派"),
    SINGLE_ASSIGNMENT(17, "单向指派"),
    ;

    /** 枚举值. **/
    private final Integer value;
    /** 枚举名称. **/
    private final String name;
}
